﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.TextMining.TextScraping
{
    /// <summary>
    /// 
    /// </summary>
    public abstract class ContentFilterBase:IFilter 
    {
        private Guid _ID;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        public ContentFilterBase(Guid id)
        {
            this._ID = id;
        }

        #region Implementation of IFilter

        public abstract event ContentFiltered OnContentFiltered;

        /// <summary>
        /// 
        /// </summary>
        public Guid FilterID
        {
            get
            {
                return _ID;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="srcContent"></param>
        public abstract void Filter(object srcContent);
        
        #endregion
    }
}
